using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Sterilizationcenter.Domain.zmc
{
    /// <summary>
    /// 科室信息表
    /// </summary>
    [SugarTable("Department")]
    public class Department
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 科室编号
        /// </summary>
        [SugarColumn(Length = 50)]
        public string DepartmentNo { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        [SugarColumn(Length = 100)]
        public string DepartmentName { get; set; }

        /// <summary>
        /// 科室类型（0:内科, 1:外科, 2:妇产科, 3:儿科, 4:其他）
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 科室负责人ID
        /// </summary>
        public int ManagerId { get; set; }

        /// <summary>
        /// 科室负责人姓名
        /// </summary>
        [SugarColumn(Length = 50)]
        public string ManagerName { get; set; }

        /// <summary>
        /// 科室描述
        /// </summary>
        [SugarColumn(Length = 500)]
        public string Description { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}